package factorymethod.impl.product;



public class CandyProduct implements Product {
   private  String  candyName;
   
	public String getCandyName() {
	return candyName;
}

public void setCandyName(String candyName) {
	this.candyName = candyName;
}

	@Override
	public String ProductDesc() {
		System.out.println("CandyFactory.ProductDesc"+candyName);
		return " ";
	}

	public CandyProduct(String candyName)
	{
		this.candyName = candyName;
	}
	
}
